package routers

import (
	"blogwin.cn/framework/controllers/api"
	"github.com/gin-gonic/gin"

)

func ApiRouterInit(r *gin.Engine) {
	apiRouters := r.Group("/api") 
	{
		apiRouters.POST("/book", api.BookController{}.Index)
	}
}